import Vue from 'vue'
import App from './App.vue'
import router from './router'
import * as echarts from 'echarts';
Vue.prototype.$echarts=echarts
Vue.config.productionTip = false
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import i18n from './lang/index'
import locale from 'element-ui/lib/locale/lang/en'

Vue.use(ElementUI,{locale})

// Vue.use(ElementUI,{
//   i18n:(key,value)=>i18n.t(key,value)
// })
import { scale } from "./utils/directive";
 
Vue.directive("scale", scale);
new Vue({
  router,
  // i18n,
  render: h => h(App)
}).$mount('#app')
